---
title: Icon
description: "`Icon` is a general icon component that can be used in your projects."
storybook: components-icon--basic
source: components/icon
style: components/icon/icon.style.ts
---

```tsx preview
<GhostIcon />
```

## Usage

:::code-group

```tsx [package]
import { GhostIcon } from "@yamada-ui/react"
```

```tsx [alias]
import { GhostIcon } from "@/components/ui"
```

```tsx [monorepo]
import { GhostIcon } from "@workspaces/ui"
```

:::

```tsx
<GhostIcon />
```

You can find all the icons we offer at [here](/icons).

### Using React Icons

When using [React Icons](https://react-icons.github.io/react-icons), set the component to `as`.

```ts
import { Icon } from "@yamada-ui/react"
import { FaRobot } from "react-icons/fa"
```

```tsx
<Icon as={FaRobot} />
```

### Using Lucide lab

When using [Lucide lab](https://github.com/lucide-icons/lucide-lab), use `LucideIcon`.

```ts
import { LucideIcon } from "@yamada-ui/react"
```

```tsx preview
<LucideIcon iconNode={burger} />
```

## Props

<PropsTable name="icon" />

## Accessibility

Currently, this section is being updated due to the migration of v2.
